// Package dbservice
// @Author: zhangdi
// @File: global
// @Version: 1.0.0
// @Date: 2023/7/3 18:17
package dbservice

var conf *DbConfigService
var chatDialog *DbChatDialogService

func Conf() *DbConfigService {
	if conf == nil {
		conf = NewDbConfigService()
	}

	return conf
}
func ChatDialog() *DbChatDialogService {
	if chatDialog == nil {
		chatDialog = NewChatDialogService()
	}

	return chatDialog
}
